package com.bobochang.warehouse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 每日施工情况表
 * @TableName daily_construction
 */
@TableName(value ="daily_construction")
@Data
public class DailyConstruction implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 合同id
     */
    private Integer contractId;

    @TableField(exist = false)
    private Contract contract;

    /**
     * 施工位置id
     */
    private Integer locationId;

    @TableField(exist = false)
    private LocationConstruction locationConstruction;

    /**
     * 施工类型id
     */
    private Integer constructionTypeId;

    @TableField(exist = false)
    private String constructionTypeName;

    @TableField(exist = false)
    private ConstructionType constructionType;

    /**
     * 上报时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;

    @TableField(exist = false)
    private ConstructionDetails constructionDetails;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}